package cn.song.domain;

import lombok.Data;


import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

@Entity
@Data
public class ProductInfo {

    // 商品Id
    @Id
    private String productId;

    //商品名字
    private String productName;

    // 单价
    private BigDecimal productPrice;

    //商品库存
    private  Integer productStock;

    //商品描述
    private  String productDescription;

    // 商品小图
    private  String productIcon;

    //商品状态 0上架 1xiajia
    private Integer productStatus;

    //商品编号
    private  Integer categoryType;
}
